Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taskstate constant #368

Merged
merged 5 commits into from
Nov 20, 2023
Merged

Taskstate constant #368

merged 5 commits into from
Nov 20, 2023

Conversation

joelrebel
Copy link
Member

What does this PR implement/change/remove?

Updates the FirmwareTaskVerifier interface and its implementations to return a constant.TaskState type.

Checklist

  • Tests added
  • Similar commits squashed

…Status

Update the FirmwareTaskStatus method to return the the TaskState
constant. This is to remove the FirmwareInstall prefix from the current
FirmwareInstall* constants and to have a generic Task State type.
Copy link

codecov bot commented Nov 20, 2023

Codecov Report

Attention: 17 lines in your changes are missing coverage. Please review.

Comparison is base (b0ef181) 44.29% compared to head (6c585e6) 44.40%.

Files Patch % Lines
providers/supermicro/x11_firmware_bios.go 0.00% 11 Missing ⚠️
providers/supermicro/x11_firmware_bmc.go 71.42% 2 Missing ⚠️
client.go 0.00% 1 Missing ⚠️
providers/supermicro/firmware.go 0.00% 1 Missing ⚠️
providers/supermicro/x11.go 0.00% 1 Missing ⚠️
providers/supermicro/x12.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #368      +/-   ##
==========================================
+ Coverage   44.29%   44.40%   +0.10%     
==========================================
  Files          61       61              
  Lines        5145     5155      +10     
==========================================
+ Hits         2279     2289      +10     
  Misses       2610     2610              
  Partials      256      256              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@joelrebel joelrebel merged commit b496772 into main Nov 20, 2023
7 checks passed
@joelrebel joelrebel deleted the taskstate-constant branch November 20, 2023 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants